package com.shanzmoo.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Ocr配置
 * @author fs
 */
@Data
@Component
@ConfigurationProperties(prefix = "ocr")
public class OcrProperties {
    /**
     * 身份证
     */
    private OneOcrProp idCard;
    /**
     * 银行卡
     */
    private OneOcrProp bankCard;
    /**
     * 营业执照
     */
    private OneOcrProp businessLicense;
    @Data
    public static class OneOcrProp{
        private String appCode;
    }
}
